const Sequelize = require('sequelize');
module.exports = function(sequelize, DataTypes) {
  return sequelize.define('baserel_consproject_conpermit', {
    projectid: {
      type: DataTypes.INTEGER,
      allowNull: false
    },
    conpermitcode: {
      type: DataTypes.STRING(255),
      allowNull: true
    }
  }, {
    sequelize,
    tableName: 'baserel_consproject_conpermit',
    timestamps: false
  });
};
